/**
 * 
 */

/**
 * @author HOANB
 * 
 */
public class Staff {
	private String staffCode;

	public String getStudentCode() {
		return staffCode;
	}

	public void setStudentCode(String studentCode) {
		this.staffCode = studentCode;
	}

	public String getStudentName() {
		return staffName;
	}

	public void setStudentName(String studentName) {
		this.staffName = studentName;
	}

	public String getDateWork() {
		return dateWork;
	}

	public void setDateWork(String dateWork) {
		this.dateWork = dateWork;
	}

	public float getSalary() {
		return basicsalary;
	}

	public void setSalary(float salary) {
		this.basicsalary = salary;
	}

	private String staffName;
	private String dateWork;
	private float basicsalary;
	public static int coefficient = 2;

	public Staff() {
	}

	public Staff(String studentCode, String studentName, String dateWork,
			float salary) {
		this.staffCode = studentCode;
		this.staffName = studentName;
		this.dateWork = dateWork;
		this.basicsalary = salary;
	}

	public Staff(String studentCode, String studentName, String dateWork) {
		this.staffCode = studentCode;
		this.staffName = studentName;
		this.dateWork = dateWork;
		this.basicsalary = 0;
	}

	public Staff(String studentCode) {
		this.staffCode = studentCode;
	}

	public Staff(String studentCode, String studentName) {
		this.staffCode = studentCode;
		this.staffName = studentName;
		this.dateWork = "";
		this.basicsalary = 0;

	}

	public String toString() {
		return "Staff Code:" + this.staffCode + " Staff Name:" + this.staffName
				+ " Staff Work:" + this.dateWork + " Salary "
				+ this.basicsalary + "\n";
	}
}
